#ifndef _GXHTC3_H
#define _GXHTC3_H

#include "stm32f10x.h"
#include "iic.h"
typedef struct	Gxhtc3Value{
	u16	temp;
	u16	humi;
}Gxhtc3_t;

extern u8 gxhtc_online;
extern MONI_IIC_TypeDef gxhtc3;
extern Gxhtc3_t *gxhtc3_value;
u8 GXHTC3_read_result3(MONI_IIC_TypeDef *IIC_TypeDef,Gxhtc3_t *value);
void GXHTC3_Init(MONI_IIC_TypeDef *IIC_TypeDef);

u8 gxhtc3_init(void);
u8 gxhtc3_run(void);

void Alarm_Humidity_Handle(void);
void Alarm_Temp_Handle(void);

#endif
